import request from '@/utils/request';

export async function fetchWholeCashier(params = {}) {
  return request('/Amaidan-Users-Web/staff/staffManage/getStaffCashPage', {
    method: 'POST',
    data: params,
  });
}

export async function fetchWholeStaff(params = {}) {
  return request('/Amaidan-Users-Web/staff/staffManage/staffDistributionPage', {
    method: 'POST',
    data: params,
  });
}

export async function fetchWholeVIP(params = {}) {
  return request('/Amaidan-Users-Web/user/userManage/getVipTookenList', {
    method: 'POST',
    data: params,
  });
}

// 一键提醒
export async function reminding(params = {}) {
  return request('/Amaidan-Users-Web/staff/staffManage/staffPromotionReminding', {
    method: 'POST',
    data: params,
  });
}

// 商户列表
export async function fetchMerchants(params = {}) {
  return request('/Amaidan-Merchants-Web/merchants/busMerchantsInfo/all', {
    method: 'POST',
    data: params,
  });
}
// 门店列表
export async function fetchStores(params = {}) {
  return request('/Amaidan-Merchants-Web/merchants/busStoreInfo/getStorePageByMerchantsId', {
    method: 'POST',
    data: params,
  });
}
